import request from '@/utils/request'

// 代理商表列表
export function apiAgentsLists(params: any) {
    return request.get({ url: '/agents.children_agents/lists', params })
}

// 添加代理商表
export function apiAgentsAdd(params: any) {
    return request.post({ url: '/agents.children_agents/add', params })
}

// 编辑代理商表
export function apiAgentsEdit(params: any) {
    return request.post({ url: '/agents.children_agents/edit', params })
}

// 删除代理商表
export function apiAgentsDelete(params: any) {
    return request.post({ url: '/agents.children_agents/delete', params })
}

// 代理商表详情
export function apiAgentsDetail(params: any) {
    return request.get({ url: '/agents.children_agents/detail', params })
}